#include"heap.h"

void TestHeap1()
{
	Heap hp;
	HeapInit(&hp);

	HeapPush(&hp, 10);
	HeapPush(&hp, 70);
	HeapPush(&hp, 60);
	HeapPush(&hp, 30);
	HeapPush(&hp, 20);
	HeapPush(&hp, 90);
	HeapPush(&hp, 40);
	HeapPush(&hp, 50);
	HeapPush(&hp, 80);

	HeapPop(&hp);
	HeapSize(&hp);
	HeapTop(&hp);

	HeapDestory(&hp);
}
int main(void)
{
	TestHeap1();
	return 0;
}



